package com.hljx.vo;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @author : gx
 * @since : 2023/4/26 11:25
 */
@Data
public class SysDictVO {

    @Schema(description = "字典主键")
    @ExcelIgnore
    private Long id;

    @Schema(description = "字典名称")
    @ExcelProperty(value = "字典名称", index = 0)
    private String name;

    @Schema(description = "字典编码")
    @ExcelProperty(value = "字典编码", index = 1)
    private String code;

    @Schema(description = "是否启动 0禁止1启用")
    @ExcelIgnore
    private Integer status;

    @Schema(description = "是否启动")
    @ExcelProperty(value = "是否启动", index = 2)
    @JsonIgnore
    private String isEnable;

    @Schema(description = "备注")
    @ExcelProperty(value = "备注", index = 3)
    private String description;

}
